@layout("/common/_container.html",{js:["/assets/modular/system/btyMtyq/btyMtyq.js"]}){

<div class="layui-body-header">
    <span class="layui-body-header-title">管理</span>
</div>

<div class="layui-fluid">
    <div class="layui-row layui-col-space15">
        <div class="layui-col-sm12 layui-col-md12 layui-col-lg12">
            <div class="layui-card">
                <div class="layui-card-body">
                    <div class="layui-form toolbar">
                        <div class="layui-form-item">
                            <div class="layui-inline">
                                <input id="mdid" class="layui-input" type="text" placeholder="根据门店id、券码查询"/>
                            </div>
<!--                            <div class="layui-inline">-->
<!--                                <input id="dm" class="layui-input" type="text" placeholder="店名"/>-->
<!--                            </div>-->
<!--                            <div class="layui-inline">-->
<!--                                <input id="code" class="layui-input" type="text" placeholder="券码"/>-->
<!--                            </div>-->
                            <button id="btnSearch" class="layui-btn icon-btn" style="margin-left: 10px;">搜索</button>
                            <div class="layui-inline">
                                <label class="layui-form-label label-title">店名</label>
                                <div class="layui-input-block label-block">
                                    <select id="dm" name="dm" lay-filter="dm" lay-search="">
<!--                                        <option value="东更道测试门店">东更道测试门店</option>-->
                                    </select>
                                </div>
                            </div>
                            <div class="layui-inline">
                                <label class="layui-form-label">时间</label>
                                <div class="layui-inline w-110">
                                    <input id="createTime" class="layui-input" type="text" autocomplete="off" placeholder="时间"/>
                                </div>
                            </div>
                            <div class="layui-inline">
                                <label class="layui-form-label label-title">团单类型</label>
                                <div class="layui-input-block label-block">
                                    <select id="type" name="type" lay-filter="type" lay-search="">
                                        <option value="">全部</option>
                                        <option value="1">代金券</option>
                                        <option value="2">套餐券</option>
                                        <option value="4">霸王券</option>
                                    </select>
                                </div>
                            </div>

                            <div class="layui-inline">
                                <label class="layui-form-label label-title">券码状态</label>
                                <div class="layui-input-block label-block">
                                    <select id="state" name="state" lay-filter="state" lay-search="">
                                        <option value="">全部</option>
<!--                                        <option value="10">可用</option>-->
                                        <option value="10">已核销</option>
                                        <option value="25">已撤销</option>
<!--                                        <option value="20">不可用</option>-->
                                    </select>
                                </div>
                            </div>
                            <div class="layui-inline">

                                <button id="btnReset" class="layui-btn icon-btn">清空</button>
<!--                                <button id="btnTxt" class="layui-btn icon-btn"><i class="layui-icon">&#xe67d;</i>txt导入-->
                                </button>
<!--                                <button id="btnAdd" class="layui-btn icon-btn"><i class="layui-icon">&#xe654;</i>添加</button>-->
<!--                                <button id="btnExp" class="layui-btn icon-btn"><i class="layui-icon">&#xe67d;</i>导出</button>-->
                            </div>
                        </div>
                    </div>
                    <table class="layui-table" id="btyMtyqTable" lay-filter="btyMtyqTable"></table>
                </div>
            </div>
        </div>
    </div>
</div>

<script type="text/html" id="tableBar">
    <a class="layui-btn layui-btn-primary layui-btn-xs" lay-event="edit">修改</a>
    <a class="layui-btn layui-btn-danger layui-btn-xs" lay-event="delete">删除</a>
</script>
@}